package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Building;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.domain.Dot;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzy
 * @since 2024-06-24
 */
public interface BuildingMapper extends BaseMapper<Building> {
    public int getTotelByBuildingID( Long buildingID);


    List<Building> selectBuildingsByDormitoryAdminIDs(List<Long> ids);

    List<Map<String, Object>> selectBuildingWithAreaNameByBuildingName(Dot dot);

    List<Building> selectBuildingByAreaID(Long areaID);

    List<Building> getBuildingByGender(String gender);
}
